package com.ruoyi.production.service.seed;

import com.ruoyi.production.domain.seed.SeedPurchaseApply;

import java.util.List;

/**
 * 种子购买申请Service接口
 *
 * @author ruoyi
 * @date 2021-07-07
 */
public interface ISeedPurchaseApplyService
{
    /**
     * 查询种子购买申请
     *
     * @param seedPurchaseApplyId 种子购买申请ID
     * @return 种子购买申请
     */
    public SeedPurchaseApply selectSeedPurchaseApplyById(Long seedPurchaseApplyId);

    /**
     * 查询种子购买申请列表
     *
     * @param seedPurchaseApply 种子购买申请
     * @return 种子购买申请集合
     */
    public List<SeedPurchaseApply> selectSeedPurchaseApplyList(SeedPurchaseApply seedPurchaseApply);

    /**
     * 新增种子购买申请
     *
     * @param seedPurchaseApply 种子购买申请
     * @return 结果
     */
    public int insertSeedPurchaseApply(SeedPurchaseApply seedPurchaseApply);

    /**
     * 修改种子购买申请
     *
     * @param seedPurchaseApply 种子购买申请
     * @return 结果
     */
    public int updateSeedPurchaseApply(SeedPurchaseApply seedPurchaseApply);

    /**
     * 批量删除种子购买申请
     *
     * @param seedPurchaseApplyIds 需要删除的种子购买申请ID
     * @return 结果
     */
    public int deleteSeedPurchaseApplyByIds(Long[] seedPurchaseApplyIds);

    /**
     * 删除种子购买申请信息
     *
     * @param seedPurchaseApplyId 种子购买申请ID
     * @return 结果
     */
    public int deleteSeedPurchaseApplyById(Long seedPurchaseApplyId);
}
